//
//  SmallShopCollectionViewCell.m
//  Products_B
//
//  Created by lanou on 16/5/30.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "SmallShopCollectionViewCell.h"

@interface SmallShopCollectionViewCell() {
    UIImageView *_picImageView;
}

@end


@implementation SmallShopCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        _picImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, kWidth / 2 - 20, 360 * (kWidth / 2 - 20) / 640)];
        [self.contentView addSubview:_picImageView];
    }
    return self;
}


- (void)setImageUrlString:(NSString *)imageUrlString {
    _imageUrlString = imageUrlString;
    [_picImageView sd_setImageWithURL:[NSURL URLWithString:imageUrlString]];
}

@end
